
#ifndef __HELLO_MAIN__
#define __HELLO_MAIN__
#if 0
#include <stdio.h>
#include <string.h>
// #include <inttypes.h>
#include "sdkconfig.h" //sdk配置
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"           //任务
#include "freertos/message_buffer.h" //使用消息缓冲区必须要有这个头文件
#include "esp_chip_info.h"           //芯片_信息
#include "esp_flash.h"               //内存
#include "esp_system.h"              //系统
#include "esp_spi_flash.h"
#include "esp_log.h" //日志

#include "driver/gpio.h"  //GPIO
#include "driver/ledc.h"  //LEDPWM
#include "driver/mcpwm.h" //电机LEDPWM

#define HUAN_CHONG_QU_LEN 8


void ledPwmTianYao(float zhanKongBi);

#elif 1
#include <stdio.h>
#include <string.h>
// #include <inttypes.h>
#include "sdkconfig.h" //sdk配置
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"           //任务
#include "freertos/message_buffer.h" //使用消息缓冲区必须要有这个头文件
#include "freertos/queue.h"          //消息队列
#include "esp_chip_info.h"           //芯片_信息
#include "esp_flash.h"               //内存
#include "esp_system.h"              //系统
#include "esp_spi_flash.h"
#include "esp_log.h" //日志
#include "cJSON.h"
#include "esp_bt.h"

#include "nvs_flash.h" //掉电保存数据
#include "nvs.h"
#include <inttypes.h>

#include "esp_system.h"
#include "esp_event.h"
#include "esp_event_loop.h"
#include "driver/adc.h"
#include "esp_wifi.h"

#include "driver/gpio.h"  //GPIO
#include "driver/ledc.h"  //LEDPWM
#include "driver/mcpwm.h" //电机LEDPWM

#define WIFI_SSID_LEN 16             // SSID长度
#define WIFI_PASS_LEN 32             // WIFI密码长度
#define HUAN_CHONG_QU_LEN 16         // 缓冲区长度
#define XI_TONG_HUAN_CHONG_QU_LEN 32 // 系统缓冲区长度
#define NVS_ZI_FU_CHUAN_LEN 64       // 掉电保存nvs字符串长度

void ledPwmTianYao(float zhanKongBi);

#endif //__HELLO_MAIN__


#endif//__HELLO_MAIN__